
package com.thor.palmmall.hdmall.media;

import java.util.List;

import org.apache.cxf.jaxrs.ext.multipart.Attachment;
import org.apache.cxf.jaxrs.ext.multipart.Multipart;

import com.thor.commons.exception.ThorServiceException;

public interface HDMMediaService {
  List<String> upload(@Multipart(value = "file") Attachment attachment) throws ThorServiceException;

  byte[] download(String moduleName, String num, String fileName) throws ThorServiceException;

}
